﻿using RsCode.Domain;
using Rswl.Common.Core.User.Aggregate.Entities;

namespace Rswl.Common.Core.User.Events
{
    public  class BindInviteEvent:IDomainEvent
    {
        public BindInviteEvent(UserInfo newUser,UserInfo inviteUser)
        {
            NewUser = newUser;  
            InviteUser = inviteUser;
        }
        /// <summary>
        /// 被推广者
        /// </summary>
        public UserInfo NewUser { get;private set; }

        /// <summary>
        /// 推广者
        /// </summary>
        public UserInfo InviteUser { get; private set; }
    }
}
